public class Test  {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();

        System.out.println("层序遍历结果如下：");
        binaryTree.levelOrder(root);

        boolean completeTree = binaryTree.isCompleteTree(root);
        System.out.println("是否是完全二叉树：" + completeTree);
    }
}
